package com.xiaowu.xblog.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@TableName("comment")
public class Comment extends BaseEntity {


    @Override
    public Long getId() {
        return super.getId();
    }

    private Long articleId;

    private Long userId;

    private Long parentId;

    private String content;

    private Boolean isReviewed;

    private Boolean isAnonymous;

    private Integer likeCount;

    private String ipAddress;
}
